package cn.tedu._03vehicle.mapper;

import cn.tedu._03vehicle.pojo.datatransferobject.VehicleList;
import cn.tedu._03vehicle.pojo.entity.Vehicle;
import cn.tedu._03vehicle.pojo.valueobject.VehicleVO;
import io.swagger.v3.oas.annotations.Parameter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int addVehicle(Vehicle vehicle);

    List<VehicleVO> queryVehicle(String brand,String license,@Param("userId") Long Id);
    int delVehicle(Long id,Long userId);
}
